import QtQuick 2.15
import QtCharts 2.15

ChartView {
    id: chartView
    title: "仪表盘"
    antialiasing: true
    animationOptions: ChartView.AllAnimations
    
    PieSeries {
        id: pieSeries
        name: "Gauge"
        
        PieSlice {
            id: slice1
            label: "Value"
            value: 60
            color: "#2196F3"
        }
        
        PieSlice {
            id: slice2
            label: "Remaining"
            value: 40
            color: "#E0E0E0"
        }
    }
}

